#include "strategy.h"

int main()
{
    std::vector<int> v({6,1,0,7,5,2,9,-1});
    //SortStrategy* strategy = new BubbleSortStrategy();
    // SortStrategy* strategy = new SelectionSortSrategy();
    // SortStrategy* strategy = new InsertSortStrategy();
    // SortStrategy* strategy = new ShellSortStrategy();
    // SortStrategy* strategy = new MergeSortStrategy();
    // SortStrategy* strategy = new QuickSortStrategy();
    SortStrategy* strategy = new HeapSortStrategy();
    Sorter sorter(strategy);
    sorter.show(v);
    sorter.sort(v);
    sorter.show(v);

    
    return 0;
}